FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\BaseProvider S

Total Complexity 36
Dependencies 2
Dependents 0
Total lines 230
Lines of code 154
Logical lines of code 45
Comment lines 33
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
renderUserProfileCustomForm()
S
51 1 28
auditLogin()
S
64 2 11
getCommonData()
S
56 1 19
validateLoginIntent()
S
65 2 9
getSecret()
S
74 2 4
generateSimpleOTP()
S
68 2 6
hasValidSecret()
S
75 2 4
isProfileActive()
S
79 2 3
__construct()
S
91 1 2
getUser()
S
80 1 3
fetchCodeFromRequest()
S
78 1 3
getLoginFormParameter()
S
79 1 3
renderFormFieldForWpLogin()
S
68 1 8
getFormField()
S
82 1 3
captureLoginAttempt()
S
91 1 2
getProviderSpecificRenderData()
S
82 1 3
genNewSecret()
S
82 1 3
postSuccessActions()
S
73 1 5
processOtp()
S
100 1 0
getJavascriptVars()
S
82 1 3
setSecret()
S
73 1 5
setProfileValidated()
S
73 1 5
remove()
S
75 1 4
resetSecret()
S
74 1 5
isProviderEnabled()
S
100 1 0
isProviderAvailableToUser()
S
81 1 3
isEnforced()
S
82 1 3
hasValidatedProfile()
S
78 1 3
getProviderName()
S
100 1 0
setUser()
S
77 1 4